This text is using paragraph
And this is text one more time, but with new paragraph
And this is
a paragraph
from the new line
| Liqueur | Koniac(Wiskey) | Coffee |
|---|---|---|
| Irish | Hennesey | Lavazza |
| Add some at the end | Add some after the coffee | Doesn't need at all |
This text has been styled by css (Times New Roman)
This text has been styled by css (Arial)
# **Conceptual Exercise - CSS Fundamentals**
Explain how CSS differs from HTML in the context of web development.
### Answer 🔑
As for me HTML is a skelet of web page that could be filled with different extensions. CSS is one of those, that can change your default design to something special. My first "codding" expirience was started from MS Excel and I was playing a lot with rules called conditional formatting. CSS for me the same: create rules for your existen skelet to make it more special
# Question 2 ❓
List the methods of including CSS in an HTML document and briefly describe each.
### Answer 🔑
External- to separate your code from your stylish rules. Internal- the same like external but use the same file. Make your code hard to read due to big amount of text.Inline- use it only if you know that this rule is going to be used once, but this is very unlikly
# Question 3 ❓
Describe the anatomy of a CSS rule.
### Answer 🔑
Declarrate the name for the css rule and than input parameters for that rule. Nice tone is to leave a comment also
# Question 4 ❓
When might you want to use RGBA instead of RGB?
### Answer 🔑
Use additional "A" (RGBA) when you want to add transparent
# Question 5 ❓
How do Hex color values differ from RGB?
### Answer 🔑
I use Hex color when I copy\past color from other place and want to do it ident.
# Question 6 ❓
When might a developer prefer to use HSL over other color formats?
### Answer 🔑
Never seen using HSL before. My first time was at the course. Technically you can use it for different chat applications (hello from 2000-2005) to make your chat more uniqe. Probably in some web browser games... This feature should exist as an option, but nowadays it hard to say how you can use it as the only option
# Question 7 ❓
What are the primary text properties used in CSS to modify the appearance and layout of text?
### Answer 🔑
The answher is depend on person. As for me, my primary requerements are: text position, background (color), text align, distance, wrapping
# Question 8 ❓
In what scenarios might it be beneficial to use `vh` or `vw` as a unit for font size?
### Answer 🔑
I think if you're doing a website that also works on mobile device that can rotate screen to portrait and album positions you shold modify some HMTL code using vw. While vh you can use if part of code\text should always use rules for size itself. Both of them are very specific ap on my own mind
# Question 9 ❓
Explain the difference between `em` and `rem` units.
### Answer 🔑
Sometimes you css rules conflict with each others. And you have to prioritize some of them. Use rem for hight priority and cover everything that include that rule. And use em for relative parts of code
# Question 10 ❓
If multiple font families are listed in the font-family property, how does the browser decide which one to display?
### Answer 🔑
Code goes from top to bottom. Last rule that could be applied will be displayed. Also there are default font families in the browser.